﻿using System;
using System.IO;
using UnityEngine;

namespace SEXY
{
	// Token: 0x020002AF RID: 687
	[Serializable]
	public class CharFileInfoClothesMale : CharFileInfoClothes
	{
		// Token: 0x06001159 RID: 4441 RVA: 0x0007069C File Offset: 0x0006E89C
		public CharFileInfoClothesMale() : base("【HoneySelectClothesMale】", "coordinate/male/", Enum.GetNames(typeof(CharDefine.ClothesKindMale)).Length)
		{
			this.MemberInitialize();
		}

		// Token: 0x0600115A RID: 4442 RVA: 0x000706C8 File Offset: 0x0006E8C8
		private new void MemberInitialize()
		{
			base.MemberInitialize();
			this.clothesTypeSex = 0;
			int[] array = new int[2];
			for (int i = 0; i < this.clothesId.Length; i++)
			{
				this.clothesId[i] = array[i];
				this.clothesColor[i] = new HSColorSet();
				this.clothesColor2[i] = new HSColorSet();
			}
		}

		// Token: 0x0600115B RID: 4443 RVA: 0x00070728 File Offset: 0x0006E928
		public override bool Copy(CharFileInfoClothes srcData)
		{
			CharFileInfoClothesMale charFileInfoClothesMale = srcData as CharFileInfoClothesMale;
			if (charFileInfoClothesMale == null)
			{
				GlobalData.Debug_LogWarning("在男人的服装信息中加入女人的服装信息？");
				return false;
			}
			for (int i = 0; i < this.clothesKindNum; i++)
			{
				this.clothesId[i] = charFileInfoClothesMale.clothesId[i];
				this.clothesColor[i].Copy(charFileInfoClothesMale.clothesColor[i]);
			}
			for (int j = 0; j < 10; j++)
			{
				base.accessory[j].Copy(srcData.accessory[j]);
			}
			return true;
		}

		// Token: 0x0600115C RID: 4444 RVA: 0x000707B4 File Offset: 0x0006E9B4
		protected override bool LoadSub(BinaryReader br, int clothesVer, int colorVer)
		{
			return true;
		}
	}
}
